/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package z.h.w.jar.arithmetic.method;

import java.util.List;

/**
 *
 * @author EnzoZhong
 * @date 2011.09.18
 */
public interface SortMethodApi {

     /**
      *
      */
     SortMethodApi SHELL = new SortShell ();

     /**
      *
      * @param <Type>
      * @param array
      * @return
      */
     <Type extends Comparable<? super Type>> Type[] sort ( Type[] array );

     /**
      *
      * @param <Type>
      * @param list
      * @return
      */
     <Type extends Comparable<? super Type>> List<Type> sort ( List<Type> list );

}
